package com.qding.park.manager.pojo;

import java.util.Date;

/**
 * @ClassName TbReserve
 * @Description TODO(预定,临停)
 * @author Administrator
 * @Date 2016年8月25日 上午11:54:40
 * @version 1.0.0
 */
public class TbReserve {
	
	/**
	 * @Field @id : 
	 */
	private String id;
	
	
	/**
	 * @Field @parkOrderId : TODO(停车支付订单号  车场提供)
	 */
	private String parkOrderId;
	
	/**
	  * @Fields parkingSerial : TODO（停车流水 车场提供）
	  */
	private String parkSerial;
	
	/**
	 * @Field @userID : TODO(用户id)
	 */
	private int userID;
	
	private String bjuserId;
	
	/**
	 * @Field @parkID : TODO(车场id)
	 */
	private int parkID;
	
	/**
	 * @Field @ParkName : TODO(车场名)
	 */
	private String parkName;
	
	/**
	 * @Field @carNum : TODO(车牌)
	 */
	private String carNum;
	
	/**
	 * @Field @startTime : TODO(预定开始时间)
	 */
	private Date startTime;
	
	/**
	 * @Field @endTime : TODO(预定结束时间)
	 */
	private Date endTime;
	
	/**
	  * @Fields lastTime : TODO（预约失效时间（用户的预约结束时间+车场的延期时间的和））
	  */
	private Date  lastTime;
	
	/**
	  * @Fields extendTimeNum : TODO（预定扩展时间  以分钟为单）
	  */
	private int extendTimeNum;
	
	/**
	 * @Field @checkInTime : TODO(真实入场时间)
	 */
	private Date checkInTime;
	
	/**
	 * @Field @CheckOutTime : TODO(真实出场时间)
	 */
	private Date checkOutTime;
	
	/**
	 * @Field @deposit : TODO(预定单中的押金/临停缴费中支付金额     ,表示应付款的总额,单位为分)
	 */
	private int deposit;
	
	/**
	  * @Fields realPayDeposit : TODO（预定单中的押金/临停缴费中支付金额     ,表示实付款的总额 ,单位为分）
	  */
	private int  realPayDeposit;
	
	/**
	 * @Field @reserverType : TODO(类型1，预定，0未预定)
	 */
	private int reserverType;
	
	/**
	  * @Fields orderSource : TODO（订单来源）
	  */
	private int orderSource;
	
	/**
	 * @Field @tradeid : TODO(缴费流水ID,回写:支付完成后，回写到该字段)
	 */
	private String tradeid;
	
	/**
	 * @Field @bjTradeID : TODO(北京押金号)
	 */
	private String bjOrderId;
	
	/**
	 * @Field @status : TODO(0 预定未入场，1预定已入场，2测试数据)
	 */
	private int status;
	
	/**
	 * @Field @create_date : TODO(创建时间)
	 */
	private Date create_date=new Date();
	
	/**
	 * @Field @update_date : TODO(更新时间)
	 */
	private Date update_date;
	
	/**
	  * @Fields reserverContect : TODO（预定规则说明）
	  */
	private String reserverContect;
	
	/**
	  * @Fields payType : TODO（支付类型）
	  */
	private int payType;
	
	
	/**
	  * @Fields payTime : TODO（支付时间）
	  */
	private Date payTime;
	
	/**
	 * 电话
	 */
	private String tel;
	
//	private Date create_date;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public int getParkID() {
		return parkID;
	}

	public void setParkID(int parkID) {
		this.parkID = parkID;
	}

	public String getParkName() {
		return parkName;
	}

	public void setParkName(String parkName) {
		this.parkName = parkName;
	}

	public String getCarNum() {
		return carNum;
	}

	public void setCarNum(String carNum) {
		this.carNum = carNum;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public Date getLastTime() {
		return lastTime;
	}

	public void setLastTime(Date lastTime) {
		this.lastTime = lastTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getCheckInTime() {
		return checkInTime;
	}

	public void setCheckInTime(Date checkInTime) {
		this.checkInTime = checkInTime;
	}

	public Date getCheckOutTime() {
		return checkOutTime;
	}

	public void setCheckOutTime(Date checkOutTime) {
		this.checkOutTime = checkOutTime;
	}

	public int getDeposit() {
		return deposit;
	}

	public int getPayType() {
		return payType;
	}

	public void setPayType(int payType) {
		this.payType = payType;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public void setDeposit(int deposit) {
		this.deposit = deposit;
	}

	public int getExtendTimeNum() {
		return extendTimeNum;
	}

	public void setExtendTimeNum(int extendTimeNum) {
		this.extendTimeNum = extendTimeNum;
	}

	public int getReserverType() {
		return reserverType;
	}

	public void setReserverType(int reserverType) {
		this.reserverType = reserverType;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getTradeid() {
		return tradeid;
	}

	public void setTradeid(String tradeid) {
		this.tradeid = tradeid;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getCreate_date() {
		return create_date;
	}

	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}

	public String getBjuserId() {
		return bjuserId;
	}

	public void setBjuserId(String bjuserId) {
		this.bjuserId = bjuserId;
	}


	public String getBjOrderId() {
		return bjOrderId;
	}

	public void setBjOrderId(String bjOrderId) {
		this.bjOrderId = bjOrderId;
	}

	public Date getUpdate_date() {
		return update_date;
	}

	public void setUpdate_date(Date update_date) {
		this.update_date = update_date;
	}

	public String getParkOrderId() {
		return parkOrderId;
	}

	public void setParkOrderId(String parkOrderId) {
		this.parkOrderId = parkOrderId;
	}

	public String getReserverContect() {
		return reserverContect;
	}

	public void setReserverContect(String reserverContect) {
		this.reserverContect = reserverContect;
	}

	public String getParkSerial() {
		return parkSerial;
	}

	public void setParkSerial(String parkSerial) {
		this.parkSerial = parkSerial;
	}

	public int getRealPayDeposit() {
		return realPayDeposit;
	}

	public void setRealPayDeposit(int realPayDeposit) {
		this.realPayDeposit = realPayDeposit;
	}

	public int getOrderSource() {
		return orderSource;
	}

	public void setOrderSource(int orderSource) {
		this.orderSource = orderSource;
	}

	@Override
	public String toString() {
		return "TbReserve [id=" + id + ", parkOrderId=" + parkOrderId + ", parkSerial=" + parkSerial + ", userID="
				+ userID + ", bjuserId=" + bjuserId + ", parkID=" + parkID + ", parkName=" + parkName + ", carNum="
				+ carNum + ", startTime=" + startTime + ", endTime=" + endTime + ", lastTime=" + lastTime
				+ ", extendTimeNum=" + extendTimeNum + ", checkInTime=" + checkInTime + ", checkOutTime=" + checkOutTime
				+ ", deposit=" + deposit + ", realPayDeposit=" + realPayDeposit + ", reserverType=" + reserverType
				+ ", tradeid=" + tradeid + ", bjOrderId=" + bjOrderId + ", status=" + status + ", create_date="
				+ create_date + ", update_date=" + update_date + ", reserverContect=" + reserverContect + ", payType="
				+ payType + ", payTime=" + payTime + "]";
	}
	
}
